package lmscript.postscript.syntax;

import lmscript.postscript.syntax.stack.OperandStack;

public abstract class ErrorOperator extends PSOperator {

	public static Class[] operators = { ConfigurationError.class, DictfullError.class,
			DictStackOverflow.class, DictStackUnderflow.class, ExecStackOverflow.class,
			HandleError.class, Interrupt.class, InvalidAccess.class, InvalidExit.class,
			InvalidFileAccess.class, InvalidFont.class, InvalidRestore.class, IOError.class,
			LimitCheck.class, NoCurrentPoint.class, RangeCheck.class, StackOverflow.class,
			StackUnderflow.class, SyntaxError.class, TimeOut.class, TypeCheck.class,
			Undefined.class, UndefinedFilename.class, UndefinedResource.class,
			UndefinedResource.class, UndefinedResult.class, UnmatchedMark.class,
			Unregistered.class, VMerror.class };

	public ErrorOperator(String name) {
		super(name);
	}

}

class ConfigurationError extends ErrorOperator {
	public ConfigurationError() {
		super("configurationerror");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class DictfullError extends ErrorOperator {
	public DictfullError() {
		super("dictfull");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class DictStackOverflow extends ErrorOperator {
	public DictStackOverflow() {
		super("dictstackoverflow");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class DictStackUnderflow extends ErrorOperator {
	public DictStackUnderflow() {
		super("dictstackunderflow");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class ExecStackOverflow extends ErrorOperator {
	public ExecStackOverflow() {
		super("execstackoverflow");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class HandleError extends ErrorOperator {
	public HandleError() {
		super("handleerror");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class Interrupt extends ErrorOperator {
	public Interrupt() {
		super("interrupt");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class InvalidAccess extends ErrorOperator {
	public InvalidAccess() {
		super("invalidaccess");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class InvalidExit extends ErrorOperator {
	public InvalidExit() {
		super("invalidexit");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class InvalidFileAccess extends ErrorOperator {
	public InvalidFileAccess() {
		super("invalidfileaccess");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class InvalidFont extends ErrorOperator {
	public InvalidFont() {
		super("invalidfont");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class InvalidRestore extends ErrorOperator {
	public InvalidRestore() {
		super("invalidrestore");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class IOError extends ErrorOperator {
	public IOError() {
		super("ioerror");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class LimitCheck extends ErrorOperator {
	public LimitCheck() {
		super("limitcheck");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class NoCurrentPoint extends ErrorOperator {
	public NoCurrentPoint() {
		super("nocurrentpoint");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class RangeCheck extends ErrorOperator {
	public RangeCheck() {
		super("rangecheck");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class StackOverflow extends ErrorOperator {
	public StackOverflow() {
		super("stackoverflow");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class StackUnderflow extends ErrorOperator {
	public StackUnderflow() {
		super("stackunderflow");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class SyntaxError extends ErrorOperator {
	public SyntaxError() {
		super("syntaxerror");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class TimeOut extends ErrorOperator {
	public TimeOut() {
		super("timeout");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class TypeCheck extends ErrorOperator {
	public TypeCheck() {
		super("typecheck");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class Undefined extends ErrorOperator {
	public Undefined() {
		super("undefined");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class UndefinedFilename extends ErrorOperator {
	public UndefinedFilename() {
		super("undefinedfilename");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class UndefinedResource extends ErrorOperator {
	public UndefinedResource() {
		super("undefinedresource");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class UndefinedResult extends ErrorOperator {
	public UndefinedResult() {
		super("undefinedresult");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class UnmatchedMark extends ErrorOperator {
	public UnmatchedMark() {
		super("unmatchedmark");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class Unregistered extends ErrorOperator {
	public Unregistered() {
		super("unregistered");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}

class VMerror extends ErrorOperator {
	public VMerror() {
		super("VMerror");
	}

	@Override
	public boolean execute(OperandStack os) {
		return false;
	}
}
